package com.xiaomi.service;

import com.github.pagehelper.PageInfo;
import com.xiaomi.domain.GoodsEntity;

import java.util.List;

public interface GoodsService {

    PageInfo<GoodsEntity> findPageGoods(Integer pageNum);

    boolean deleteGoodsById(String[] ids);

    GoodsEntity findGoodsById(String gid);

    Boolean updateGoods(GoodsEntity goods);

    Boolean addGoods(GoodsEntity goods);
    List<GoodsEntity> findAllGodds();
}
